package cn.zxcoder.entity.goods;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author zx
 * @since 2023-05-22
 */
@TableName("repertory_log")
@ApiModel(value = "Log对象", description = "")
@Data
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @ApiModelProperty("操作商品的数量")
    private Integer Num;

    @TableField(value = "op_user")
    @ApiModelProperty("操作人的名字")
    private String opUser;

    @TableField(value = "op_time")
    @ApiModelProperty("操作人的时间")
    private Date opTime;

    @ApiModelProperty("操作名称")
    private String operation;

    @ApiModelProperty("操作的商品名称")
    private String name;



    public Integer getId() {
        return id;
    }



    public String getOpUser() {
        return opUser;
    }

    public void setOpUser(String opUser) {
        this.opUser = opUser;
    }


    @Override
    public String toString() {
        return "Log{" +
                "id=" + id +
                ", Num=" + Num +
                ", opUser='" + opUser + '\'' +
                ", opTime=" + opTime +
                ", operation=" + operation +
                ", name=" + name +
                '}';
    }
}
